﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Maticsoft.BLL.CarrefourCover
{
    public partial class Image
    {
        public List<Maticsoft.Model.CarrefourCover.Image> GetLiveImageByBabyID( int babyid )
        {
            return this.GetModelList( "Status = 1 AND ImgTargetId =" + babyid.ToString() ).OrderBy( p => p.ImgType ).ToList();
        }
    }
}
